package com.xwaf.platform.system.api.response;

import java.io.Serializable;

import lombok.Data;

@Data
public class TestReportResponse implements Serializable {
	private static final long serialVersionUID = 1L;

	private String accessPlatformName;
	private String stationName;
	private Integer lmntOrderNum = 0;
	private Integer lmntTicketNum = 0;
	private Float lmntTicketFee = 0F;
	private Integer cmOrderNum = 0;
	private Integer cmTicketNum = 0;
	private Float cmTicketFee = 0F;
	private Integer cmRefundOrderNum = 0;
	private Integer cmRefundTicketNum = 0;
	private Float cmRefundTicketFee = 0F;
	private Float cmRefundTicketChargeFee = 0F;
	private Integer cmtOrderNum = 0;
	private Integer cmtTicketNum = 0;
	private Float cmtTicketFee = 0F;
	private Integer cmntOrderNum = 0;
	private Integer cmntTicketNum = 0;
	private Float cmntTicketFee = 0F;
	private Float cmSettlementFee = 0F;
	private Integer sort = 0;

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		TestReportResponse other = (TestReportResponse) obj;
		if (accessPlatformName == null) {
			if (other.accessPlatformName != null)
				return false;
		} else if (!accessPlatformName.equals(other.accessPlatformName))
			return false;
		if (stationName == null) {
			if (other.stationName != null)
				return false;
		} else if (!stationName.equals(other.stationName))
			return false;
		return true;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((accessPlatformName == null) ? 0 : accessPlatformName.hashCode());
		result = prime * result + ((stationName == null) ? 0 : stationName.hashCode());
		return result;
	}
}
